<?php
// 本类由系统自动生成，仅供测试用途
class IndexAction extends GlobalAction {
    public function index(){
    	$this->head();
//     	$cat = D('Cat')->where("path ='0'")->select();
        $a = D('ArticleView')->select();
//        dump($cat);
//        dump(Db::getInstance());
//         $this->assign('cat',$cat);
		$this->assign('a',$a);
        $this->display();
    }
    
    
 	public function about(){
 		$this->head();
        $this->display();
    }
}